#include"progress.h"

char style[4] = {'#','-','*','>'};

void progress(){
    char str[101];
    int i = 0;
    memset(str,0,sizeof(str));
    for(;i<100;i++){
        str[i] = style[N];
        printf("[%-100s][%3d%%]\r",str,i+1);
        fflush(stdout);
        usleep(50000);
        
    }
    printf("\n");
}
